package com.shkco.basic.service;


import com.shkco.basic.query.BaseQuery;
import com.shkco.basic.util.PageList;

import java.util.List;

public interface IBaseService<T> {

    T findById(Long id);

    List<T> findAll();

    void add(T t);

    void update(T t);

    void del(Long id);

    PageList<T> queryPage(BaseQuery baseQuery);

    void patchDel(List<Long> ids);

}
